import {ILoginModel} from "@/typings";
import requestWithToken from "@/utils/request";

export const login = (data: ILoginModel) => {
    return requestWithToken("/auth/login", 'post', data)
}